# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libgnome-keyring
pkgver=3.12.0
pkgrel=2
pkgdesc="GNOME keyring"
url="http://www.gnome.org"
arch="all"
license="GPL-2.0-or-later LGPL-2.0-or-later"
depends="gnome-keyring"
makedepends="dbus-dev glib-dev libgcrypt-dev intltool gobject-introspection-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--enable-introspection
	make
}

check() {
	make check
}

package() {
	export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
	make DESTDIR="$pkgdir" install
}

sha512sums="dd1777b6e0dd774feb86dbc72d9f2a85f2143e2772a09c438b84aec468ddc5e7ee5ebd534d24f079e5daf4757f2918d0621e26fb671fde0fcef9c74d30f8b9bd  libgnome-keyring-3.12.0.tar.xz"
